package com.zjhcsoft.auth.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 设备绑定表
 * </p>
 *
 * @author wzya
 * @since 2021-03-29
 */
@TableName("T_USER_DEVICE")
@KeySequence("mybatisPlusKeyGenerator")
public class UserDevice implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 设备唯一标识
     */
    @TableId(type= IdType.INPUT)
    private Long id;

    /**
     * 账号唯一标识
     */
    @TableField("ACCOUNT_ID")
    private Long accountId;

    /**
     * 设备ID
     */
    @TableField("SE_ID")
    private String seId;

    /**
     * 设备号码(号码)
     */
    @TableField("EQUIPMENT_CODE")
    private String equipmentCode;

    /**
     * 安全认证值 当请求送了设备标签该字段和渠道名称必输
     */
    @TableField("PARA_VALUE")
    private String paraValue;

    /**
     * 设备信息 小鱼泡泡的安卓端设备管理功能需要使用
     */
    @TableField("EQMT_MSG")
    private String eqmtMsg;

    /**
     * 设备型号 小鱼泡泡ios端设备管理功能需要使用
     */
    @TableField("EQMT_TYPE_CODE")
    private String eqmtTypeCode;

    /**
     * 版本号 小鱼泡泡ios端设备管理功能需要使用
     */
    @TableField("VERSION_NO")
    private String versionNo;

    /**
     * URL地址 小鱼泡泡web端设备管理功能需要使用
     */
    @TableField("URL_ADDRESS")
    private String urlAddress;

    /**
     * 应用包名 小鱼泡泡的安卓端设备管理功能需要使用
     */
    @TableField("APP_PKG_NM")
    private String appPkgNm;

    /**
     * 安卓端主机名称 小鱼泡泡的安卓端设备管理功能需要使用
     */
    @TableField("AND_HST_NM")
    private String andHstNm;

    /**
     * 主机名称 小鱼泡泡的IOS端设备管理功能需要使用
     */
    @TableField("HST_NM")
    private String hstNm;

    /**
     * 绑定时间 绑定时间
     */
    @TableField("BINDING_TIME")
    private Date bindingTime;

    /**
     * 创建人
     */
    @TableField("CREATED_BY")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField("CREATED_TIME")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField("UPDATED_BY")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField("UPDATED_TIME")
    private Date updatedTime;

    @TableField(exist = false)
    private String loginNo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public String getSeId() {
        return seId;
    }

    public void setSeId(String seId) {
        this.seId = seId;
    }

    public String getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
    }

    public String getParaValue() {
        return paraValue;
    }

    public void setParaValue(String paraValue) {
        this.paraValue = paraValue;
    }

    public String getEqmtMsg() {
        return eqmtMsg;
    }

    public void setEqmtMsg(String eqmtMsg) {
        this.eqmtMsg = eqmtMsg;
    }

    public String getEqmtTypeCode() {
        return eqmtTypeCode;
    }

    public void setEqmtTypeCode(String eqmtTypeCode) {
        this.eqmtTypeCode = eqmtTypeCode;
    }

    public String getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(String versionNo) {
        this.versionNo = versionNo;
    }

    public String getUrlAddress() {
        return urlAddress;
    }

    public void setUrlAddress(String urlAddress) {
        this.urlAddress = urlAddress;
    }

    public String getAppPkgNm() {
        return appPkgNm;
    }

    public void setAppPkgNm(String appPkgNm) {
        this.appPkgNm = appPkgNm;
    }

    public String getAndHstNm() {
        return andHstNm;
    }

    public void setAndHstNm(String andHstNm) {
        this.andHstNm = andHstNm;
    }

    public String getHstNm() {
        return hstNm;
    }

    public void setHstNm(String hstNm) {
        this.hstNm = hstNm;
    }

    public Date getBindingTime() {
        return bindingTime;
    }

    public void setBindingTime(Date bindingTime) {
        this.bindingTime = bindingTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getLoginNo() {
        return loginNo;
    }

    public void setLoginNo(String loginNo) {
        this.loginNo = loginNo;
    }

    @Override
    public String toString() {
        return "UserDevice{" +
        "id=" + id +
        ", accountId=" + accountId +
        ", seId=" + seId +
        ", equipmentCode=" + equipmentCode +
        ", paraValue=" + paraValue +
        ", eqmtMsg=" + eqmtMsg +
        ", eqmtTypeCode=" + eqmtTypeCode +
        ", versionNo=" + versionNo +
        ", urlAddress=" + urlAddress +
        ", appPkgNm=" + appPkgNm +
        ", andHstNm=" + andHstNm +
        ", hstNm=" + hstNm +
        ", bindingTime=" + bindingTime +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", updatedBy=" + updatedBy +
        ", updatedTime=" + updatedTime +
        "}";
    }
}
